home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / network / file-tra / fsp-2.7 / fsp-2 / fsp / Makefile.in < prev    next >
Encoding:
Makefile  |  1993-05-21  |  3.0 KB  |  109 lines

  1. #############################################################################
  2. #     Make file for the FSP suite of programs.
  3. #############################################################################
  4. # Use "make install" to install binaries.
  5. # Use "make de-install" to remove installed binaries and man pages.
  6. # Use "make install-merge" to install the client merge and symbolic links.
  7. # Use "make install-man" to install the man pages.
  8.  
  9. #############################################################################
  10. # The following variable defines the compiler to use in your compilation.
  11. #
  12. CC    = @CC@
  13.  
  14. #############################################################################
  15. # Set up your compiler flags here.  If you want optimized code, leave it
  16. # the way it is now.
  17. #
  18. OPTIM    = -O
  19.  
  20. #############################################################################
  21. # If you need to link in any additional libraries, do it here.
  22. # AT&T 3B2/600G + AT&T Unix Sys V R 3.2.3 + WIN/TCP R 3.2 use -lnet -lnsl_s 
  23. # Sequent Dynix/ptx, use -lsocket -linet -lnsl -lseq
  24. #
  25. EX_LIBS    = @EX_LIBS@
  26.  
  27. #############################################################################
  28. # define this to '&' if you plan to use parallel make. You need
  29. # the enhanced GNU make or Sequent's make for that
  30. #
  31. PARALLEL_MAKE = @PARALLEL_MAKE@
  32.  
  33.  
  34. #############################################################################
  35. # NOTE: YOU SHOULD NOT HAVE TO CHANGE ANYTHING BELOW THIS LINE
  36. #############################################################################
  37.  
  38. prefix    = /usr/local
  39.  
  40. BIN    = ${prefix}/bin
  41. MAN    = ${prefix}/man
  42.  
  43. INCLUDE    = -I../include
  44.  
  45. DEFS    = @DEFS@
  46.  
  47. CFLAGS    = ${OPTIM} ${INCLUDE} ${DEFS}
  48.  
  49. SHELL    = /bin/sh
  50.  
  51. AR    = ar
  52. ARFLAGS    = cru
  53. RM    = rm
  54.  
  55. INSTALL    = @INSTALL@
  56. DINSTAL    = @INSTALL_DATA@
  57. LN    = @LN_S@
  58. RANLIB    = @RANLIB@
  59.  
  60. PROG_FL    = AR="${AR}" CC="${CC}" CFLAGS="${CFLAGS}" SHELL="${SHELL}" \
  61.       INSTALL="${INSTALL}" DINSTAL="${DINSTAL}" LN="${LN}" \
  62.       RANLIB="${RANLIB}" BIN="${BIN}" MAN="${MAN}" EX_LIBS="${EX_LIBS}" \
  63.       RM="${RM}" PARALLEL_MAKE="${PARALLEL_MAKE}" ARFLAGS="${ARFLAGS}"
  64.  
  65. all: fspserver fspclients
  66.  
  67. bsd_dir:
  68.     @(cd bsd_src; make all ${PROG_FL})
  69.  
  70. common_dir:
  71.     @(cd common;  make all ${PROG_FL})
  72.  
  73. client_dir:
  74.     @(cd client;  make all ${PROG_FL})
  75.  
  76. fspserver: bsd_dir common_dir
  77.     @(cd server;  make all ${PROG_FL})
  78.  
  79. fspclients: bsd_dir common_dir client_dir
  80.     @(cd clients; make all ${PROG_FL})
  81.  
  82. merge: bsd_dir common_dir client_dir
  83.     @(cd clients; make fspmerge ${PROG_FL})
  84.  
  85. install:  fspserver fspclients
  86.     @(cd server; make install ${PROG_FL})
  87.     @(cd clients; make install ${PROG_FL})
  88.  
  89. install-merge: fspserver merge
  90.     @(cd server; make install ${PROG_FL})
  91.     @(cd clients; make install_merge ${PROG_FL})
  92.  
  93. install-man:
  94.     @(cd man; make install ${PROG_FL})
  95.  
  96. clean:
  97.     @(cd server; make clean ${PROG_FL})
  98.     @(cd clients; make clean ${PROG_FL})
  99.     @(cd bsd_src; make clean ${PROG_FL})
  100.     @(cd common; make clean ${PROG_FL})
  101.     @(cd client; make clean ${PROG_FL})
  102.  
  103. de-install:
  104.     @(cd server; make de-install ${PROG_FL})
  105.     @(cd clients; make de-install ${PROG_FL})
  106.     @(cd man; make de-install ${PROG_FL})
  107.  
  108.